/**
 * 
 */

function eventCheck(){
	document.getElementById('id1').onclick = fun;
	document.getElementById('id2').onclick = fun;
	document.getElementById('id3').onclick = fun;
}

function fun(ev){
	var n = event.srcElement.name;
	var v = event.srcElement.value;
	alert("name="+ n+',value'+v);
}
